<?=$this->load->view('include_header',null)?>
<style type="text/css">
form#form textarea {
    height: 50px;
    overflow: auto;
    padding: 5px;
    width: 410px;
}
</style>
	<div id="top-panel">
		<div id="panel">
			<ul>
				<li class="current"><a href="<?=site_url('archive/idcard/'.$id)?>" class="report"><?=(empty($id))?"录入新":"编辑"?>客户基本信息</a></li>
				<?php if(!empty($info->id)):?><li><a id="printInfo" class="folder_table">打印本页信息</a></li><?php endif;?>
			</ul>
		</div>
	</div>
	<div id="wrapper">
		<div id="content">
			<div id="box">
<!-- table begin -->
<form method="post" id="form"  enctype="multipart/form-data" action="<?=site_url('schengen/uk_student_update/'.$cateid)?>">

	<h3>英国学生申请表[VAF9 OCT 2011]</h3>
    <table width="100%">
      <thead>
        <tr>
          <td colspan="4" align="right"><img src="<?= (@$info->avatar)?@$info->avatar:'images/avatar.gif'?>" width="150" height="150" /></td>
          <td width="27%" align="right"> 上传照片<br />
              <input type="file" name="userphoto" />
            <br />
            (.gif|.jpg|.png文件,最大1M)<br />
            <?php if (@$info->attachment):?>
            <a href="<?= @$info->attachment?>" target="_blank">点击下载附件</a>
            <?php endif; ?>
            &nbsp;&nbsp;&nbsp;&nbsp;上传附件<br />
            <input type="file" name="userfile" />
            <br />
            (.pdf|.zip|.rar|.doc,最大2M) </td>
        </tr>
      </thead>
      <tfoot>
        <tr>
          <td colspan="5" align="right">
		    <input type="hidden" name="id" value="<?=$id?>" />
			<input id="button1" type="submit" value="提交信息" />
			<input id="button2" type="reset" value="重置" />
		  </td>
        </tr>
      </tfoot>
      <tbody>
        <tr class="odd">
          <td colspan="5"><strong>READ THIS FIRST</strong><br />
              <br />
            This form must be completed in English. You may use blue or black ink, or a computer.Please follow the guidance notes carefully and complete all questions as indicated. If you run out of space please usePart 7 – Additional Information.<br />
            The UK Border Agency may take a decision on your application based on the information contained here without interviewing you. Therefore please ensure you submit all relevant documents, (please see the supporting documents guidance at Annex A of this form and in the Self-Assessment Appendix “Not required for Tier 1 Exceptional Talent” specific to the tier or sub-tier for which you are applying.<br />
            It is better to explain why you do not have a document than to submit a false document. Your application will be automatically refused and you may be banned from coming to the UK for 10 years if you use a false document, lie or withhold relevant information. You may also be banned if you have breached immigration laws in the UK.<br />
            <br />
            Please ensure you also complete the relevant Self-Assessment point scoring Appendix.<br />
            <br />
            On which date do you wish to travel to the UK&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
            <select name="travel_d">
              <?php for($i=1;$i<=31;$i++) echo "<option value='$i'".((@$info->travel_d==$i)?"selected":"").">$i</option>"; ?>
            </select>
            -
            <select name="travel_m">
              <?php for($i=1;$i<=12;$i++) echo "<option value='$i'".((@$info->travel_m==$i)?"selected":"").">$i</option>"; ?>
            </select>
            -
            <select name="travel_y">
              <?php for($i=date("Y");$i<date("Y")+10;$i++) echo "<option value='$i'".((@$info->travel_y==$i)?"selected":"").">$i</option>"; ?>
            </select>
            (DD-MM-YYYY)</td>
        </tr>
        <tr class="even">
          <td colspan="5"><strong>Part 1 About your Self-Assessment Appendix Read Guidance notes, Part 1</strong></td>
        </tr>
        <tr class="odd">
          <td colspan="2">1.1 Are you applying under the HSMP Forum JR Ruling for reinstatement as a highly skilled migrant having previously been
            refused an extension? </td>
          <td colspan="3"><input type="radio" name="has_apply" value="1" <?= (@$info->has_apply==1)?'checked':''?> />
            Yes (Go to Part 2) &nbsp;&nbsp;
            <input type="radio" name="has_apply" value="0" <?= (@$info->has_apply==0)?'checked':''?> />
            No  (Go to 1.2) </td>
        </tr>
        <tr class="even">
          <td colspan="2">1.2 Which Appendix did you complete?</td>
          <td colspan="3">Number
            <input name="appendix_num" type="text" value="<?= @$info->appendix_num?>" style="width:50px" />
            &nbsp;&nbsp;Title
            <input name="appendix_title" type="text" value="<?= @$info->appendix_title?>" style="width:300px" /></td>
        </tr>
        <tr class="odd">
          <td colspan="2">1.3 How many points did you score for Attributes, English, and Maintenance?</td>
          <td colspan="3">Attributes
            <input name="attribute_porint" type="text" value="<?= @$info->attribute_porint?>" style="width:50px" />
            &nbsp;&nbsp;English
            <input name="english_point" type="text" value="<?= @$info->english_point?>" style="width:50px"/>
            &nbsp;&nbsp;Maintenance
            <input name="maintenance_point" type="text" value="<?= @$info->maintenance_point?>" style="width:50px" /></td>
        </tr>
        <tr class="even">
          <td colspan="2">1.4 For Tier 4 applicants only<br />
            I confirm that the funds for which I have claimed points in respect of maintenance<br />
            (above) are available to me, in the manner specified in the Immigration Rules, for<br />
            use in studying and living in the UK and will remain so available for the duration <br />
            of any Tier 4 leave granted unless used to pay for course fees and living costs in the UK. </td>
          <td colspan="3">
			<input type="checkbox" name="ck_14" value="1" <?= (@$info->ck_14==1)?'checked':''?> /> Confirm</td>
        </tr>
        <tr class="odd">
          <td colspan="5"><strong>Part 2 About you Read Guidance notes, Part 2</strong></td>
        </tr>
        <tr class="even">
          <td>2.1 Given name(s) (as shown in your passport)</td>
          <td><input type="text" name="firstname" value="<?= @$info->firstname?>" /></td>
          <td>&nbsp;</td>
          <td>2.2 Family name (as shown in your passport)</td>
          <td><input type="text" name="surname" value="<?= @$info->surname?>" /></td>
        </tr>
        <tr class="odd">
          <td>2.3 Other names (including any other names you are known by and/or any other names that you have been known by)</td>
          <td><input type="text" name="alias" value="<?= @$info->alias?>" /></td>
          <td>&nbsp;</td>
          <td>2.4 Sex</td>
          <td><input type="radio" name="sex" value="1" <?= (@$info->sex==1)?'checked':''?> />
            Male
            <input type="radio" name="sex" value="2" <?= (@$info->sex==2)?'checked':''?> />
            Female</td>
        </tr>
        <tr class="even">
          <td>2.5 Marital status?</td>
          <td colspan="4">
		    <input type="radio" name="marital_status" value="1" <?= (@$info->marital_status==1)?'checked':''?> />
            Single
            <input type="radio" name="marital_status" value="2" <?= (@$info->marital_status==2)?'checked':''?> />
            Married /Civil Partner
            <input type="radio" name="marital_status" value="3" <?= (@$info->marital_status==3)?'checked':''?> />
            Unmarried /Partner
            <input type="radio" name="marital_status" value="4" <?= (@$info->marital_status==4)?'checked':''?> />
            Divorced /Dissolved Partnership<br />
            <input type="radio" name="marital_status" value="5" <?= (@$info->marital_status==5)?'checked':''?> />
            Widowed /Surviving Civil Partner
            <input type="radio" name="marital_status" value="6" <?= (@$info->marital_status==6)?'checked':''?> />
            Separated </td>
        </tr>
        <tr class="odd">
          <td>2.6 Date of Birth</td>
          <td nowrap="nowrap"><select name="birth_d">
            <?php for($i=1;$i<=31;$i++) echo "<option value='$i'".((@$info->birth_d==$i)?"selected":"").">$i</option>"; ?>
          </select>
            -
            <select name="birth_m">
              <?php for($i=1;$i<=12;$i++) echo "<option value='$i'".((@$info->birth_m==$i)?"selected":"").">$i</option>"; ?>
            </select>
            -
            <select name="birth_y">
              <?php for($i=date("Y");$i>1940;$i--) echo "<option value='$i'".((@$info->birth_y==$i)?"selected":"").">$i</option>"; ?>
            </select>
            <br />
            (DD MM YYYY)</td>
          <td>&nbsp;</td>
          <td>2.7 Place of birth</td>
          <td><input type="text" name="birth_place" value="<?= @$info->birth_place?>" /></td>
        </tr>
        <tr class="even">
          <td>2.8 Country of Birth</td>
          <td><input type="text" name="birth_country" value="<?= @$info->birth_country?>" /></td>
          <td>&nbsp;</td>
          <td>2.9 Nationality</td>
          <td><input type="text" name="nationality" value="<?= @$info->nationality?>" /></td>
        </tr>
        <tr class="odd">
          <td>2.10 Do you hold any other nationalities?</td>
          <td><input type="radio" name="has_other_nationality" value="1" <?= (@$info->has_other_nationality==1)?'checked':''?> />
            Yes
            <input type="radio" name="has_other_nationality" value="0" <?= (@$info->has_other_nationality==0)?'checked':''?> />
            No ( If ‘No’ go to Part 3) </td>
          <td>&nbsp;</td>
          <td>2.11 If ‘Yes’ please provide details</td>
          <td><input type="text" name="other_nationality" value="<?= @$info->other_nationality?>" /></td>
        </tr>
        <tr class="even">
          <td colspan="5"><strong>Part 3 Passport Information Read Guidance notes, Part 3</strong></td>
        </tr>
        <tr class="odd">
          <td>3.1 Current passport or travel document number</td>
          <td><input type="text" name="travel_document_num" value="<?= @$info->travel_document_num?>" /></td>
          <td>&nbsp;</td>
          <td>3.2 Issuing Authority</td>
          <td><input type="text" name="travel_document_issue_place" value="<?= @$info->travel_document_issue_place?>" /></td>
        </tr>
        <tr class="even">
          <td>3.3 Date of issue</td>
          <td><input name="travel_document_issue_date" type="text" value="<?= @$info->travel_document_issue_date?>" id="travel_document_issue_date" /></td>
          <td>&nbsp;</td>
          <td>3.4 Date of expiry</td>
          <td><input type="text" name="travel_document_valid_date" value="<?= @$info->travel_document_valid_date?>" id="travel_document_valid_date" /></td>
        </tr>
        <tr class="odd">
          <td>3.5 Is this your first passport?</td>
          <td><input type="radio" name="is_first_passport" value="1" <?= (@$info->is_first_passport==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_first_passport" value="0" <?= (@$info->is_first_passport==0)?'checked':''?> />
            No<br />
            ( If ‘Yes’ go to Part 4 ) </td>
          <td>&nbsp;</td>
          <td colspan="2">3.6 If ‘No’ give details of previous passports covering the last 10 years including where these passports are now.<br />
          	<textarea name="other_passport"><?= @$info->other_passport?></textarea></td>
          </tr>
        <tr class="even">
          <td colspan="5"><strong>Part 4 Your contact details Read Guidance notes, Part 4</strong></td>
        </tr>
        <tr class="odd">
          <td>4.1 Your full residential address and postal code</td>
          <td colspan="4"><textarea name="address"><?= @$info->address?></textarea></td>
        </tr>
        <tr class="even">
          <td>4.2 Home (landline) telephone number</td>
          <td><input type="text" name="home_tel" value="<?= @$info->home_tel?>"/></td>
          <td>&nbsp;</td>
          <td>4.3 Mobile telephone number</td>
          <td><input type="text" name="home_mobile" value="<?= @$info->home_mobile?>"/></td>
        </tr>
        <tr class="odd">
          <td>4.4 Email address</td>
          <td colspan="4"><input type="text" name="email" value="<?= @$info->email?>" id="email"/></td>
        </tr>
        <tr class="even">
          <td>4.5 Contact details if different from above</td>
          <td colspan="4"><textarea name="contact_detail"><?= @$info->contact_detail?></textarea></td>
        </tr>
        <tr class="odd">
          <td colspan="5">For help completing this form please see the guidance
            notes. If you require further guidance or information, your
            local British Embassy or High Commission will be able
            to assist you. More information can also be found on the
            website: www.ukvisas.gov.uk</td>
        </tr>
        <tr class="even">
          <td colspan="5"><strong>Part 5a Your Family Read Guidance notes, Part 5a</strong></td>
        </tr>
        <tr class="odd">
          <td colspan="3">5.1 Is your partner accompanying you or joining you later? If they are travelling later please provide their date of travel in Part 7.
            (If single go to 5.6)</td>
          <td colspan="2">
		    <input type="radio" name="is_accompany" value="1" <?= (@$info->is_accompany==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_accompany" value="0" <?= (@$info->is_accompany==0)?'checked':''?> />
            No
            <input type="radio" name="is_accompany" value="2" <?= (@$info->is_accompany==2)?'checked':''?> />
            Not Applicable</td>
        </tr>
        <tr class="even">
          <td>5.2 Full name of spouse/partner</td>
          <td><input type="text" name="spouse_name" value="<?= @$info->spouse_name?>" /></td>
          <td>&nbsp;</td>
          <td>5.3 Spouse/Partner’s date of birth</td>
          <td><input type="text" name="spouse_birth" value="<?= @$info->spouse_birth?>" id="spouse_birth" /></td>
        </tr>
        <tr class="odd">
          <td>5.4 Spouse/Partner’s place and country of birth</td>
          <td><input type="text" name="spouse_birth_place" value="<?= @$info->spouse_birth_place?>" /></td>
          <td>&nbsp;</td>
          <td>5.5 Spouse/Partner’s nationality</td>
          <td><input type="text" name="spouse_nationality" value="<?= @$info->spouse_nationality?>" /></td>
        </tr>
        <tr class="even">
          <td colspan="2">5.6 Do you have any children under 18 accompanying you or joining you at a later date?</td>
          <td colspan="3"><input type="radio" name="has_child" value="1" <?= (@$info->has_child==1)?'checked':''?> />
            Yes
            <input type="radio" name="has_child" value="0" <?= (@$info->has_child==0)?'checked':''?> />
            No</td>
        </tr>
        <tr class="odd">
          <td colspan="5">5.7 If ‘Yes’ please provide full details about the child/children. If ‘No’ go to Question 5.8<br />
          	Full name &nbsp;&nbsp;&nbsp;&nbsp;Date of Birth&nbsp;&nbsp;&nbsp;&nbsp;Place of birth&nbsp;&nbsp;&nbsp;&nbsp;Passport number<br />
		  
            <textarea name="child_detail"><?= @$info->child_detail?></textarea></td>
        </tr>
        <tr class="even">
          <td colspan="5"><strong>Part 5b Your Parents Read Guidance notes, Part 5b</strong></td>
        </tr>
        <tr class="odd">
          <td>5.8 Father’s given name(s)</td>
          <td><input type="text" name="father_firstname" value="<?= @$info->father_firstname?>"/></td>
          <td>&nbsp;</td>
          <td>5.9 Father’s family name</td>
          <td><input type="text" name="father_surname" value="<?= @$info->father_surname?>"/></td>
        </tr>
        <tr class="even">
          <td>5.10 Father’s date of birth</td>
          <td><input type="text" name="father_birth" value="<?= @$info->father_birth?>" id="father_birth"/></td>
          <td>&nbsp;</td>
          <td>5.11 Father’s place and country of birth</td>
          <td><input type="text" name="father_birth_place" value="<?= @$info->father_birth_place?>"/></td>
        </tr>
        <tr class="odd">
          <td>5.12 Father’s nationality</td>
          <td><input type="text" name="father_nationality" value="<?= @$info->father_nationality?>"/></td>
          <td>&nbsp;</td>
          <td>5.13 Mother’s given name(s)</td>
          <td><input type="text" name="mother_firstname" value="<?= @$info->mother_firstname?>"/></td>
        </tr>
        <tr class="even">
          <td>5.14 Mother’s family name</td>
          <td><input type="text" name="mother_surname" value="<?= @$info->mother_surname?>"/></td>
          <td>&nbsp;</td>
          <td>5.15 Mother’s date of birth</td>
          <td><input type="text" name="mother_birth" value="<?= @$info->mother_birth?>" id="mother_birth"/></td>
        </tr>
        <tr class="odd">
          <td>5.16 Mother’s place and country of birth</td>
          <td><input type="text" name="mother_birth_place" value="<?= @$info->mother_birth_place?>" /></td>
          <td>&nbsp;</td>
          <td>5.17 Mother’s nationality</td>
          <td><input type="text" name="mother_nationality" value="<?= @$info->mother_nationality?>"/></td>
        </tr>
        <tr class="even">
          <td colspan="5"><strong>Part 6 Previous Applications and Travel History Read Guidance notes, Part 6</strong></td>
        </tr>
        <tr class="odd">
          <td colspan="2">6.1 If you have a UK National Insurance Number what is the number?</td>
          <td colspan="3"><input type="text" name="uk_national_num" value="<?= @$info->uk_national_num?>"/></td>
        </tr>
        <tr class="even">
          <td colspan="2">6.2 Have you travelled to the UK in the last 10 years?</td>
          <td colspan="3"><input type="radio" name="is_travelled" value="1" <?= (@$info->is_travelled==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_travelled" value="0" <?= (@$info->is_travelled==0)?'checked':''?> />
            No ( If ‘Yes’ please provide details below ) </td>
        </tr>
        <tr class="odd">
          <td colspan="5">Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Purpose&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Duration<br />
          	<textarea name="travelled_detail"><?= @$info->travelled_detail?></textarea></td>
        </tr>
        <tr class="even">
          <td colspan="2">6.3 Have you ever been refused a visa for any country including the UK?</td>
          <td colspan="3"><input type="radio" name="is_refused" value="1" <?= (@$info->is_refused==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_refused" value="0" <?= (@$info->is_refused==0)?'checked':''?> />
            No ( If ‘Yes’ please provide details below ) </td>
        </tr>
        <tr class="odd">
          <td colspan="5">Date
            Date&nbsp;&nbsp;&nbsp;&nbsp;Country&nbsp;&nbsp;&nbsp;&nbsp;Reason&nbsp;&nbsp;&nbsp;&nbsp;Reference number<br />
          	<textarea name="refused_detail"><?= @$info->refused_detail?></textarea></td>
        </tr>
        <tr class="even">
          <td colspan="2">6.4 Have you been granted a visa for the UK in the last 10 years?</td>
          <td colspan="3"><input type="radio" name="is_visa" value="1" <?= (@$info->is_visa==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_visa" value="0" <?= (@$info->is_visa==0)?'checked':''?> />
            No ( If ‘Yes’ please provide details below ) </td>
        </tr>
        <tr class="odd">
          <td colspan="5">
		  Date&nbsp;&nbsp;&nbsp;&nbsp;Purpose&nbsp;&nbsp;&nbsp;&nbsp;Duration&nbsp;&nbsp;&nbsp;&nbsp;Reference number<br />
          	<textarea name="visa_detail"><?= @$info->visa_detail?></textarea></td>
        </tr>
        <tr class="even">
          <td colspan="2">6.5 Have you ever been refused entry on arrival to the UK?</td>
          <td colspan="3"><input type="radio" name="is_refused_entry" value="1" <?= (@$info->is_refused_entry==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_refused_entry" value="0" <?= (@$info->is_refused_entry==0)?'checked':''?> />
            No ( If ‘Yes’ please provide details below ) </td>
        </tr>
        <tr class="odd">
          <td colspan="5">
            Date&nbsp;&nbsp;&nbsp;&nbsp;Reason&nbsp;&nbsp;&nbsp;&nbsp;Reference number<br />
          	<textarea name="refused_entry_detail"><?= @$info->refused_entry_detail?></textarea></td>
        </tr>
        <tr class="even">
          <td colspan="2">6.6 Have you ever been in breach of your immigration conditions for the UK?</td>
          <td colspan="3"><input type="radio" name="is_breach" value="1" <?= (@$info->is_breach==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_breach" value="0" <?= (@$info->is_breach==0)?'checked':''?> />
            No ( If ‘Yes’ please provide details below ) </td>
        </tr>
        <tr class="odd">
          <td colspan="5"><textarea name="breach_detail"><?= @$info->breach_detail?></textarea></td>
        </tr>
        <tr class="even">
          <td colspan="2">6.7 Have you ever been deported, removed or otherwise required to leave any country, including the UK?</td>
          <td colspan="3"><input type="radio" name="is_deport" value="1" <?= (@$info->is_deport==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_deport" value="0" <?= (@$info->is_deport==0)?'checked':''?> />
            No ( If ‘Yes’ please provide details below ) </td>
        </tr>
        <tr class="odd">
          <td colspan="5">
		  Date&nbsp;&nbsp;&nbsp;&nbsp;Country&nbsp;&nbsp;&nbsp;&nbsp;Reason&nbsp;&nbsp;&nbsp;&nbsp;Reference number<br />
          	<textarea name="deport_detail"><?= @$info->deport_detail?></textarea></td>
        </tr>
        <tr class="even">
          <td colspan="2">6.8 Have you made an application to the Home Office to remain in the UK in the last 10 years?</td>
          <td colspan="3"><input type="radio" name="is_homeoffice" value="1" <?= (@$info->is_homeoffice==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_homeoffice" value="0" <?= (@$info->is_homeoffice==0)?'checked':''?> />
            No ( If ‘Yes’ please provide details below ) </td>
        </tr>
        <tr class="odd">
          <td colspan="5">
		  Date&nbsp;&nbsp;&nbsp;&nbsp;Reason for application&nbsp;&nbsp;&nbsp;&nbsp;Granted/Refused&nbsp;&nbsp;&nbsp;&nbsp;Reason (if Refused)&nbsp;&nbsp;&nbsp;&nbsp;Reference number<br />
          	<textarea name="homeoffice_detail"><?= @$info->homeoffice_detail?></textarea></td>
        </tr>
        <tr class="even">
          <td colspan="2">6.9 Do you have any criminal convictions in any country(including traffic offences)?</td>
          <td colspan="3"><input type="radio" name="is_criminal" value="1" <?= (@$info->is_criminal==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_criminal" value="0" <?= (@$info->is_criminal==0)?'checked':''?> />
            No ( If ‘Yes’ please provide details below ) </td>
        </tr>
        <tr class="odd">
          <td colspan="5">
		  Date&nbsp;&nbsp;&nbsp;&nbsp;Country&nbsp;&nbsp;&nbsp;&nbsp;Offence&nbsp;&nbsp;&nbsp;&nbsp;Sentence<br />
          	<textarea name="criminal_detail"><?= @$info->criminal_detail?></textarea></td>
        </tr>
        <tr class="even">
          <td colspan="2">6.10 Have you ever been charged in any country with a criminal offence for which you have not yet been tried in court?</td>
          <td colspan="3"><input type="radio" name="is_charge" value="1" <?= (@$info->is_charge==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_charge" value="0" <?= (@$info->is_charge==0)?'checked':''?> />
            No ( If ‘Yes’ please provide details below ) </td>
        </tr>
        <tr class="odd">
          <td colspan="5">
		  Date&nbsp;&nbsp;&nbsp;&nbsp;Country&nbsp;&nbsp;&nbsp;&nbsp;Offence<br />
          	<textarea name="charge_detail"><?= @$info->charge_detail?></textarea></td>
        </tr>
        <tr class="even">
          <td colspan="2">6.11 In times of either peace or war have you, ever been involved in, or suspected of involvement in, war crimes,crimes against humanity or genocide?</td>
          <td colspan="3"><input type="radio" name="is_q11" value="1" <?= (@$info->is_q11==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_q11" value="0" <?= (@$info->is_q11==0)?'checked':''?> />
            No <br />
            If ‘Yes’ please provide details in Part 7,Additional information. Refer to Guidance notes for definitions</td>
        </tr>
        <tr class="odd">
          <td colspan="2">6.12 Have you, ever been involved in, supported, or encouraged terrorist activities in any country? Have you,ever been a member of, or given support to an organisation that has been concerned in terrorism?</td>
          <td colspan="3"><input type="radio" name="is_q12" value="1" <?= (@$info->is_q12==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_q12" value="0" <?= (@$info->is_q12==0)?'checked':''?> />
            No <br />
            If ‘Yes’ please provide details in Part 7,Additional information. Refer to Guidance notes for definitions</td>
        </tr>
        <tr class="even">
          <td colspan="2">6.13 Have you ever, by any means or medium, expressed views that justify or glorify terrorist violence or that may encourage others to terrorist acts or other serious criminal acts?</td>
          <td colspan="3"><input type="radio" name="is_q13" value="1" <?= (@$info->is_q13==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_q13" value="0" <?= (@$info->is_q13==0)?'checked':''?> />
            No <br />
            If ‘Yes’ please provide details in Part 7,Additional information. Refer to Guidance notes for definitions</td>
        </tr>
        <tr class="odd">
          <td colspan="2">6.14 Have you engaged in any other activities that might indicate that you may not be considered a person of good character?</td>
          <td colspan="3"><input type="radio" name="is_q14" value="1" <?= (@$info->is_q14==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_q14" value="0" <?= (@$info->is_q14==0)?'checked':''?> />
            No <br />
            If ‘Yes’ please provide details in Part 7,Additional information.</td>
        </tr>
        <tr class="even">
          <td colspan="5"><strong>Part 7 Additional Information Read Guidance notes, Part 7</strong></td>
        </tr>
        <tr class="odd">
          <td>7.1 Is there any other information you wish to give in support of your application?</td>
          <td colspan="4">
            <textarea name="support_detail"><?= @$info->support_detail?></textarea>          </td>
        </tr>
        <tr class="even">
          <td colspan="2">7.2 Have you ever received medical treatment in the UK?</td>
          <td colspan="3"><input type="radio" name="is_medical_treatment" value="1" <?= (@$info->is_medical_treatment==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_medical_treatment" value="0" <?= (@$info->is_medical_treatment==0)?'checked':''?> />
            No <br />
            If ‘Yes’ go to question 7.3</td>
        </tr>
        <tr class="odd">
          <td colspan="2">7.3 Did you have to pay for the treatment?</td>
          <td colspan="3"><input type="radio" name="is_payfor_treatment" value="1" <?= (@$info->is_payfor_treatment==1)?'checked':''?> />
            Yes
            <input type="radio" name="is_payfor_treatment" value="0" <?= (@$info->is_payfor_treatment==0)?'checked':''?> />
            No </td>
        </tr>
        <tr class="even">
          <td colspan="2">7.4 Where did you receive the treatment?</td>
          <td colspan="3">Address:
            <input name="treatment_address" type="text" value="<?= @$info->treatment_address?>" style="width:300px"/>
              <br />
            Name of hospital/clinic/Doctor’s surgery:
            <input name="treatment_hospital" type="text" value="<?= @$info->treatment_hospital?>"/>
            <br />
            Telephone number:
            <input name="treatment_tel" type="text" value="<?= @$info->treatment_tel?>"/></td>
        </tr>
        <tr class="odd">
          <td colspan="5"><strong>Part 8 Declaration Read Guidance notes, Part 8</strong></td>
        </tr>
        <tr class="even">
          <td colspan="5"><p>I hereby apply for an entry clearance to the United Kingdom. The information I have given is complete and true to the best of my knowledge.I have completed the separate Self-Assessment Appendix of this form to which this declaration also applies. I also declare that thephotograph submitted with this form is a true likeness of myself. I confirm that if, before this application is decided, there is a material change in my circumstances or new information relevant to this application becomes available, I will inform the United Kingdom Diplomatic Mission handling my application.<br />
            I am aware that it is an offence under the Immigration Act 1971 (as amended) to make a statement which I know to be false or not believe to be true,in order to obtain a visa/entry clearance to the UK. I am also aware that my application will be automatically refused and I may be banned from going to the UK for 10 years if I use a false document, lie or withhold relevant information. I may also be banned if I have breached immigration laws in the UK. I am further aware that should I use a false document, lie or withhold relevant information my details may be passed to law enforcement agencies. I declare that the documents that I have supplied with this application are genuine and the statements I have made with this application are truthful.<br />
            I understand that UK Border Agency (or a trusted third party) may make reasonable checks to confirm the accuracy and authenticity of evidence I have provided and documents I have submitted with this application. I further understand that UK Border Agency (or a trusted third party) may also make reasonable checks on any sponsors to my application to verify statements contained in the application and establish that I will comply or have complied with the terms of any visa granted.<br />
            I understand that if the UK Border Agency has reasonable cause to believe that any document or documents I have submitted with this application are forged, fraudulent or not genuine, and the UK Border Agency has sought to verify the documents using processes specified by it but has not been able to verify them, no points will be awarded for these documents even if the UK Border Agency cannot prove that they are not genuine.<br />
            I confirm that the funds for which I have claimed points in respect of maintenance are available to me, in the manner specified in the Immigration Rules, for use in studying and living in the UK and will remain so available for the duration of any Tier 4 leave granted unless used to pay for course fees and living costs in the UK.<br />
            If I have not been required to submit certain evidential documents with this application because I am a low risk student, I confirm that I have these documents and will provide them if requested to do so by the UK Border Agency.<br />
            I understand that my application will be refused if I do not comply with the request made. I also understand that I may be required to provide a record of my fingerprints and a photograph of my face (“biometric data”) as part of my application. If I refuse to do so, my application may be treated as invalid and, if so will not be considered further. (See Statutory Instrument 2006 No 1743 – The Immigration (Provision of Physical Data) Regulations 2006, Regulation 7(1)).<br />
            I further understand that UK entry clearance applications may be handled by British Missions in other locations, including outside the country in which I have applied for entry clearance and that this may involve the transferring of my application and supporting documents to and from another mission.<br />
              I understand that the UK Border Agency will be responsible for transferring my application and supporting documents safely. I understand in these circumstances my application will still be handled in line with UKBA published customer service standards.<br />
              I am aware that I may be billed for any medical treatment undertaken in the UK and that I do not have recourse to public funds during my stay in the UK.<br />
              I understand that all information provided by me will be processed by the UK Border Agency in accordance with the Data Protection Act 1998.<br />
              I am aware that the UK Border Agency is the data controller in relation to the information provided me in this application form. I am aware that the information I provide, including biometric data, will be treated in confidence, but it may be disclosed to other government departments, agencies, local authorities, foreign governments, and other bodies, to enable the UK Border Agency or those bodies to perform their functions. Any disclosures will be in accordance with the Data Protection Act 1998. I also understand that the information provided by me may also be used for staff training purposes.<br />
              I also understand that the information provided by me, or information made available to the UK Border Agency during the processing of my application, may be shared with my sponsors(s) or any person(s) acting on their behalf or any applicant linked to my application (for example to my spouse/partner if we apply for visas for a trip together) for the sole purpose of considering my application. I am aware that if there is any information I do not want you to disclose to them I will tell you by enclosing a letter with my supporting documentation. If such requests prevent you from making legitimate enquiries, my application may be refused.<br />
              I understand that my details may in certain circumstances be passed to fraud prevention agencies to prevent and detect fraud and money laundering.<br />
              I also understand that such agencies may provide the UK Border Agency with information about me. Further details explaining when information may be passed to or from fraud prevention agencies and how that information may be used can be obtained from the UK Border Agency website. I declare that the information given on this form is correct to the best of my knowledge and belief. I also consent to the processing of information provided by me by the UK Border Agency.</p>            </td>
        </tr>
        <tr class="odd">
          <td colspan="5">&nbsp;</td>
        </tr>
		
		<tr class="even">
		<td colspan="5">ENSURE YOU ALSO COMPLETE THE SEPARATE SELF-ASSESSMENT POINTS SCORING APPENDIX APPROPRIATE TO THE TIER OR SUB-TIER UNDER WHICH YOU ARE APPLYING</td>
		</tr>
      </tbody>
    </table>
    <!-- table end -->
</form>

			</div>
		</div>
		
		<?=$this->load->view('include_sidebar',array('id'=>$id,'forms'=>$forms))?>
	</div>

<script type="text/javascript">
$().ready(function() {
	$("#form").validate({
		rules: {
			travel_d:"required",
			travel_m:"required",
			travel_y:"required",
			surname:"required",
			firstname:"required",
			sex:"required",
			marital_status:"required",
			birth_place:"required",
			birth_country:"required",
			nationality:"required",
			travel_document_num:"required",
			travel_document_issue_place:"required",
			travel_document_issue_date:"required",
			travel_document_valid_date:"required"
		}
	});
  
	$.datepicker.setDefaults(
		{
		dateFormat: 'dd/mm/yy',
		changeMonth: true,
		changeYear: true,
		showOn: "both",
		buttonImage: "images/calendar.gif",
		buttonImageOnly: true
		}
	);

	$("#travel_document_issue_date").datepicker();
	$("#travel_document_valid_date").datepicker();
	$("#spouse_birth").datepicker();
	$("#father_birth").datepicker();
	$("#mother_birth").datepicker();
	
	$("#email").autoMail();
	

	$("#printInfo").click(function(o) {
		var prints = [
			{rel_id: <?=$cateid?>, rec_id: <?=$id?>}
		]  ;
		
		var jdata = JSON.stringify(prints);
		//alert(jdata);
		$.post("<?=site_url('proxy/does/'.str_replace('==','',base64_encode('http://'.$_SERVER['SERVER_NAME'].':9090/javaprduct/servlet/test')))?>",{clients:jdata},function(msg){alert(msg)});
	});
	
	$("#printInfo").ajaxError(function(event,request, settings){
		//$(this).append("<li>出错页面:" + settings.url + "</li>");
		alert("无法访问"+ settings.url );
	}); 
 
});
</script>

<?=$this->load->view('include_footer',null)?>